
<div id="banner">
<!--<embed src="<?php //echo Yii::app()->request->baseUrl; ?>/images/njajal.swf"  "width"="540", "height"="100"/>-->
<?php echo CHtml::image(Yii::app()->request->baseUrl."/images/coupen_banner_25.gif","calendar",array("id"=>"gambar", "width"=>"568", "height"=>"100"));  ?>
</div>
<div class="post">
	<div class="title">
		
			<?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?>
	</div>
	<div class="author">
		posted by <?php echo $data->author->username . ' on ' . date('F j, Y',$data->create_time); ?>
	</div>
	<?php //Yii::app()->facebook->ogTags['title'] = "My Page Title"; ?>
	<?php $this->widget('ext.yii-facebook-opengraph.plugins.LikeButton', array(
   //'href' => 'YOUR_URL', // if omitted Facebook will use the OG meta tag
  // 'show-faces'=>true,
   'send' => true
)); ?>
	<div class="content">
		<?php
			echo CHtml::image(Yii::app()->request->baseUrl."/images/".$data->photo,"calendar",array("id"=>"gambar")); 
			$this->beginWidget('Markdown', array('purifyOutput'=>true));
			echo $data->content;
			$this->endWidget();
		?>
	</div>
	<div class="nav">
		<b>Tags:</b>
		<?php echo implode(', ', $data->tagLinks); ?>
		<br/>
		<?php echo CHtml::link('Permalink', $data->url); ?> |
		<?php echo CHtml::link("Comments ({$data->commentCount})",$data->url.'#comments'); ?> |
		Last updated on <?php echo date('F j, Y',$data->update_time); ?>
	</div>
</div>
